﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace ClimateControl.Infrastructure.Service
{
    public interface IClimateInfo
    {
        #region Service Methods

        List<Vote> Votes
        {
            get;
            [OperationContract(IsOneWay = true)]
            set;
        }
        
        bool IsAirConOn
        {
            get;
            [OperationContract(IsOneWay = true)]
            set;
        }
        
        int Temperature
        {
            get;
            [OperationContract(IsOneWay = true)]
            set;
        }
        
        int VoteExpiry
        {
            get;
            [OperationContract(IsOneWay = true)]
            set;
        }

        bool IsBigFanOn
        {
            get;
            [OperationContract(IsOneWay = true)]
            set;
        }
        
        double VoteFrequency
        {
            get;
            [OperationContract(IsOneWay = true)]
            set;
        }
        
        int UpdateFrequency
        {
            get;
            [OperationContract(IsOneWay = true)]
            set;
        }

        #endregion Service Methods
    }
}
